<?php foreach($data as $v): ?>

<div>
	<?php echo $v['title']; ?> : <?php echo $v['detail']['mid']; ?> : 
	<?php if($v['title'] == 'start_deal'): ?>
		<?php foreach($v['detail']['pokers'] as $p): ?>
			<?php echo $p; ?>,
		<?php endforeach; ?>
	<?php endif; ?>
	<?php echo $v['detail']['chip']; ?>
</div>

<?php endforeach; ?>